<template>
  <div>
    <Header />
    <router-view></router-view>
    <Footer v-show="!$route.meta.footerIsHidden" />
  </div>
</template>

<script>
import Header from "@comp/Header";
import Footer from "@comp/Footer";
import { mapState } from "vuex";
export default {
  name: "App",
   mounted() {
    console.log(this.count);
  },
  components: {
    Header,
    Footer,
  },
    computed: {
    ...mapState("home", ["count"]),
    // ...mapState固定用法

  },
};
</script>

<style lang="less" scoped>
</style>